<template>
  <v-carousel class="carousel margin-bottom-sm" hide-delimiter-background
              cycle
              height="250" >
    <a href="sad" v-for="(item,i) in  items" :key="i" :href="item.url">
      <!--img-->
      <v-carousel-item class="backimg" :src="item.img">
        <!--title-->
        <v-row
                class="fill-height"
                align="center"
                justify="center">
          <div class="title">
            {{item.message}}
          </div>
        </v-row>

      </v-carousel-item>
    </a>

  </v-carousel>
</template>


<script>

  export default {
    name: "Carousels",
    props: {
      items: {
        type: Array,
        default() {
          return []
        }
      }
    },
    created(){

    }
  }
</script>

<style scoped>
  a{
    text-decoration:none!important;
  }

  .title{
    font-family: 幼圆!important;
    font-size: 30px!important;
    text-shadow: 0px 0px 5px #000;
    color: white;
  }

  .margin-bottom-sm{
    margin-bottom: 10px!important;
  }


</style>